package com.huobiinfo.demo.mapper;

import com.huobiinfo.demo.model.News;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author peter
 * @title: NewsMapper
 * @projectName huobiinfo_webmagic_springboot
 * @description: TODO
 * @date 19-6-14下午2:43
 */

@Mapper
@Component
public interface NewsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(News record);

    int insertSelective(News record);

    News selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(News record);

    int updateByPrimaryKeyWithBLOBs(News record);

    int updateByPrimaryKey(News record);
}
